
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>15.1、wiki搭建使用 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-back-to-top-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-chapter-fold/chapter-fold.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-insert-logo/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="chapter16.html" />
    
    
    <link rel="prev" href="chapter15.html" />
    

    <style>
    @media only screen and (max-width: 640px) {
        .book-header .hidden-mobile {
            display: none;
        }
    }
    </style>
    <script>
        window["gitbook-plugin-github-buttons"] = {"buttons":[{"user":"xiaolanyun","repo":"DevOps_wiki","type":"star","size":"30px"}]};
    </script>

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="chapter1.html">
            
                <a href="chapter1.html">
            
                    
                    1、设计思路
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="chapter1.1.html">
            
                <a href="chapter1.1.html">
            
                    
                    1.1、参考文献
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="chapter2.html">
            
                <a href="chapter2.html">
            
                    
                    2、服务器
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="chapter2.1.html">
            
                <a href="chapter2.1.html">
            
                    
                    2.1、配置静态ip
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.2" data-path="chapter2.2.html">
            
                <a href="chapter2.2.html">
            
                    
                    2.2、Centos7扩容
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="chapter3.html">
            
                <a href="chapter3.html">
            
                    
                    3、mysql
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="chapter3.1.html">
            
                <a href="chapter3.1.html">
            
                    
                    3.1、初始化登录
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="chapter3.2.html">
            
                <a href="chapter3.2.html">
            
                    
                    3.2、mysql5.7&8.0设置用户密码
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="chapter3.3.html">
            
                <a href="chapter3.3.html">
            
                    
                    3.3、mysql5.7&8.0开启远程登录权限
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="chapter3.4.html">
            
                <a href="chapter3.4.html">
            
                    
                    3.4、mysql8.0驱动
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5" data-path="chapter3.5.html">
            
                <a href="chapter3.5.html">
            
                    
                    3.5、mysql更改端口号
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="chapter4.html">
            
                <a href="chapter4.html">
            
                    
                    4、mongodb
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="chapter4.1.html">
            
                <a href="chapter4.1.html">
            
                    
                    4.1、安装部署
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="chapter4.2.html">
            
                <a href="chapter4.2.html">
            
                    
                    4.2、集群测试
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="chapter5.html">
            
                <a href="chapter5.html">
            
                    
                    5、redis
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="chapter5.1.html">
            
                <a href="chapter5.1.html">
            
                    
                    5.1、安装部署
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="chapter5.2.html">
            
                <a href="chapter5.2.html">
            
                    
                    5.2、集群测试
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="chapter5.3.html">
            
                <a href="chapter5.3.html">
            
                    
                    5.3、配置服务
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="chapter6.html">
            
                <a href="chapter6.html">
            
                    
                    6、Nexus
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" data-path="chapter6.1.html">
            
                <a href="chapter6.1.html">
            
                    
                    6.1、windows&linux_maven
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.2" data-path="chapter6.2.html">
            
                <a href="chapter6.2.html">
            
                    
                    6.2、Nexus
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="chapter7.html">
            
                <a href="chapter7.html">
            
                    
                    7、ZenTao
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.8.1" data-path="chapter7.1.html">
            
                <a href="chapter7.1.html">
            
                    
                    7.1、安装部署
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.2" data-path="chapter7.2.html">
            
                <a href="chapter7.2.html">
            
                    
                    7.2、禅道部分概念释义
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="chapter8.html">
            
                <a href="chapter8.html">
            
                    
                    8、jenkins
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.9.1" data-path="chapter8.1.html">
            
                <a href="chapter8.1.html">
            
                    
                    8.1、git
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.2" data-path="chapter8.2.html">
            
                <a href="chapter8.2.html">
            
                    
                    8.2、gradle
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.3" data-path="chapter8.3.html">
            
                <a href="chapter8.3.html">
            
                    
                    8.3、sdk
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.4" data-path="chapter8.4.html">
            
                <a href="chapter8.4.html">
            
                    
                    8.4、jenkins安装部署
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="chapter9.html">
            
                <a href="chapter9.html">
            
                    
                    9、Sonar
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.10.1" data-path="chapter9.1.html">
            
                <a href="chapter9.1.html">
            
                    
                    9.1、SonarQube
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.2" data-path="chapter9.2.html">
            
                <a href="chapter9.2.html">
            
                    
                    9.2、配置服务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.3" data-path="chapter9.3.html">
            
                <a href="chapter9.3.html">
            
                    
                    9.3、SonarQubeScanner
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.4" data-path="chapter9.4.html">
            
                <a href="chapter9.4.html">
            
                    
                    9.4、集成
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.11" data-path="chapter10.html">
            
                <a href="chapter10.html">
            
                    
                    10、Android本地商城被测件
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.11.1" data-path="chapter10.1.html">
            
                <a href="chapter10.1.html">
            
                    
                    10.1、Android本地商城需求
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.2" data-path="chapter10.2.html">
            
                <a href="chapter10.2.html">
            
                    
                    10.2、Android本地商城功能设计
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.3" data-path="chapter10.3.html">
            
                <a href="chapter10.3.html">
            
                    
                    10.3、Android本地商城业务及数据库设计
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.4" data-path="chapter10.4.html">
            
                <a href="chapter10.4.html">
            
                    
                    10.4、Android本地商城UI设计
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.5" data-path="chapter10.5.html">
            
                <a href="chapter10.5.html">
            
                    
                    10.5、Android本地商城托管地址
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.6" data-path="chapter10.6.html">
            
                <a href="chapter10.6.html">
            
                    
                    10.6、Android自动化构建
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.12" data-path="chapter11.html">
            
                <a href="chapter11.html">
            
                    
                    11、Appium_自动化测试框架
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.12.1" data-path="chapter11.1.html">
            
                <a href="chapter11.1.html">
            
                    
                    11.1、总体设计思路
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12.2" data-path="chapter11.2.html">
            
                <a href="chapter11.2.html">
            
                    
                    11.2、环境
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12.3" data-path="chapter11.3.html">
            
                <a href="chapter11.3.html">
            
                    
                    11.3、自动化测试框架
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12.4" data-path="chapter11.4.html">
            
                <a href="chapter11.4.html">
            
                    
                    11.4、自动化测试框架托管地址
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12.5" data-path="chapter11.5.html">
            
                <a href="chapter11.5.html">
            
                    
                    11.5、并行测试
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12.6" data-path="chapter11.6.html">
            
                <a href="chapter11.6.html">
            
                    
                    11.6、并行测试框架托管地址
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12.7" data-path="chapter11.7.html">
            
                <a href="chapter11.7.html">
            
                    
                    11.7、持续集成
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.13" data-path="chapter12.html">
            
                <a href="chapter12.html">
            
                    
                    12、Maxim_Monkey
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.13.1" data-path="chapter12.1.html">
            
                <a href="chapter12.1.html">
            
                    
                    12.1、Maxim_Monkey使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13.2" data-path="chapter12.2.html">
            
                <a href="chapter12.2.html">
            
                    
                    12.2、Maxim_Monkey托管地址
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13.3" data-path="chapter12.3.html">
            
                <a href="chapter12.3.html">
            
                    
                    12.3、持续集成
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.14" data-path="chapter13.html">
            
                <a href="chapter13.html">
            
                    
                    13、postman&newman
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.14.1" data-path="chapter13.1.html">
            
                <a href="chapter13.1.html">
            
                    
                    13.1、postman接口测试
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.14.2" data-path="chapter13.2.html">
            
                <a href="chapter13.2.html">
            
                    
                    13.2、newman
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.14.3" data-path="chapter13.3.html">
            
                <a href="chapter13.3.html">
            
                    
                    13.3、接口自动化示例托管地址
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.14.4" data-path="chapter13.4.html">
            
                <a href="chapter13.4.html">
            
                    
                    13.4、持续集成
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.15" data-path="chapter14.html">
            
                <a href="chapter14.html">
            
                    
                    14、open-falcon
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.15.1" data-path="chapter14.1.html">
            
                <a href="chapter14.1.html">
            
                    
                    14.1、环境
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.2" data-path="chapter14.2.html">
            
                <a href="chapter14.2.html">
            
                    
                    14.2、单机&分布式安装说明
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.3" data-path="chapter14.3.html">
            
                <a href="chapter14.3.html">
            
                    
                    14.3、dashboard
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.4" data-path="chapter14.4.html">
            
                <a href="chapter14.4.html">
            
                    
                    14.4、Agent
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.5" data-path="chapter14.5.html">
            
                <a href="chapter14.5.html">
            
                    
                    14.5、Transfer
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.6" data-path="chapter14.6.html">
            
                <a href="chapter14.6.html">
            
                    
                    14.6、Graph
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.7" data-path="chapter14.7.html">
            
                <a href="chapter14.7.html">
            
                    
                    14.7、API
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.8" data-path="chapter14.8.html">
            
                <a href="chapter14.8.html">
            
                    
                    14.8、HBS
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.9" data-path="chapter14.9.html">
            
                <a href="chapter14.9.html">
            
                    
                    14.9、Judge
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.10" data-path="chapter14.10.html">
            
                <a href="chapter14.10.html">
            
                    
                    14.10、Alarm
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.11" data-path="chapter14.11.html">
            
                <a href="chapter14.11.html">
            
                    
                    14.11、Nodata
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.12" data-path="chapter14.12.html">
            
                <a href="chapter14.12.html">
            
                    
                    14.12、Aggregator
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.16" data-path="chapter15.html">
            
                <a href="chapter15.html">
            
                    
                    15、gitbook_wiki
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter active" data-level="1.16.1" data-path="chapter15.1.html">
            
                <a href="chapter15.1.html">
            
                    
                    15.1、wiki搭建使用
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.17" data-path="chapter16.html">
            
                <a href="chapter16.html">
            
                    
                    16、前端
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.17.1" data-path="chapter16.1.html">
            
                <a href="chapter16.1.html">
            
                    
                    16.1、UI设计
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.17.2" data-path="chapter16.2.html">
            
                <a href="chapter16.2.html">
            
                    
                    16.2、前端托管地址
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.18" data-path="chapter17.html">
            
                <a href="chapter17.html">
            
                    
                    17、附加说明
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.18.1" data-path="chapter17.1.html">
            
                <a href="chapter17.1.html">
            
                    
                    17.1、服务器配置一览
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >15.1、wiki搭建使用</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h3 id="151&#x3001;wiki&#x642D;&#x5EFA;&#x4F7F;&#x7528;">15.1&#x3001;wiki&#x642D;&#x5EFA;&#x4F7F;&#x7528;</h3>
<p>1&#x3001;&#x5B89;&#x88C5;node.js</p>
<p>&#x5347;&#x7EA7;npm</p>
<pre><code>npm install -g npm
</code></pre><p>&#x5B89;&#x88C5;gitbook</p>
<pre><code>npm install gitbook-cli -g
</code></pre><p>&#x521D;&#x59CB;&#x5316;&#x3010;&#x8BF7;&#x9009;&#x62E9;&#x4E00;&#x4E2A;&#x5B58;&#x653E;wiki&#x6587;&#x6863;&#x7684;&#x6587;&#x4EF6;&#x5939;&#x3011;</p>
<pre><code>gitbook init
</code></pre><p>&#x6587;&#x4EF6;&#x5939;&#x91CC;&#x751F;&#x6210;</p>
<p><img src="image/15.1.0.png" alt=""></p>
<p>gitbook init &#x521D;&#x59CB;&#x5316;&#x4E66;&#x7C4D;&#x76EE;&#x5F55;</p>
<p>README.md&#x3010;&#x5BF9;&#x4E66;&#x7C4D;&#x7684;&#x7B80;&#x5355;&#x4ECB;&#x7ECD;&#x3011;&#x548C;SUMMARY.md&#x3010;&#x4E66;&#x7C4D;&#x76EE;&#x5F55;&#x7ED3;&#x6784;&#x3011;&#x662F;&#x4E24;&#x4E2A;&#x5FC5;&#x987B;&#x6587;&#x4EF6;</p>
<p>gitbook serve    &#x7F16;&#x8BD1;&#x548C;&#x9884;&#x89C8;&#x4E66;&#x7C4D;&#xFF0C;&#x4F1A;&#x81EA;&#x52A8;&#x8C03;&#x7528;gitbook build&#x7F16;&#x8BD1;&#x4E66;&#x7C4D;&#xFF0C;&#x5B8C;&#x6210;&#x4EE5;&#x540E;&#x4F1A;&#x6253;&#x5F00;&#x4E00;&#x4E2A;web&#x670D;&#x52A1;&#x5668;&#xFF0C;&#x76D1;&#x542C;&#x672C;&#x5730;&#x7684;4000&#x7AEF;&#x53E3;</p>
<p><a href="http://localhost:4000/" target="_blank">http://localhost:4000/</a></p>
<p>SUMMARY.md&#x7BA1;&#x7406;&#x76EE;&#x5F55;&#xFF1A;&#x8BF7;&#x5C06;&#x4EE5;&#x4E0B;&#x7684;&#x4E2D;&#x6587;&#x5B57;&#x7B26;&#x66FF;&#x6362;&#x6210;&#x82F1;&#x6587;&#x5B57;&#x7B26;</p>
<p>&#x3010;&#x7AE0;&#x8282;&#x540D;&#x79F0;&#x3011;&#xFF08;&#x5BF9;&#x5E94;&#x7684;&#x6587;&#x4EF6;&#x540D;&#x79F0;&#xFF09;.md</p>
<p>&#x7A7A;&#x683C;&#x7A7A;&#x683C;-&#x7A7A;&#x683C;&#x3010;&#x5B50;&#x7AE0;&#x8282;&#x540D;&#x79F0;&#x3011;&#xFF08;&#x5BF9;&#x5E94;&#x7684;&#x6587;&#x4EF6;&#x540D;&#x79F0;md&#xFF09;      </p>
<p>&#x3010;&#x7AE0;&#x8282;&#x540D;&#x79F0;&#x3011;&#xFF08;&#x5BF9;&#x5E94;&#x7684;&#x6587;&#x4EF6;&#x540D;&#x79F0;.md&#xFF09;</p>
<p>&#x7136;&#x540E;&#x5EFA;&#x7ACB;&#x76F8;&#x5E94;&#x7684;&#x6587;&#x4EF6;&#x5373;&#x53EF;</p>
<hr>
<p>2&#x3001;&#x914D;&#x7F6E;&#x63D2;&#x4EF6;</p>
<p>Gitbook&#x9ED8;&#x8BA4;&#x81EA;&#x5E26;&#x6709;5&#x4E2A;&#x63D2;&#x4EF6;&#xFF1A;</p>
<p>&#xB7;        highlight&#xFF1A; &#x4EE3;&#x7801;&#x9AD8;&#x4EAE;</p>
<p>&#xB7;        search&#xFF1A; &#x5BFC;&#x822A;&#x680F;&#x67E5;&#x8BE2;&#x529F;&#x80FD;&#xFF08;&#x4E0D;&#x652F;&#x6301;&#x4E2D;&#x6587;&#xFF09;</p>
<p>&#xB7;        sharing&#xFF1A;&#x53F3;&#x4E0A;&#x89D2;&#x5206;&#x4EAB;&#x529F;&#x80FD;</p>
<p>&#xB7;        font-settings&#xFF1A;&#x5B57;&#x4F53;&#x8BBE;&#x7F6E;&#xFF08;&#x6700;&#x4E0A;&#x65B9;&#x7684;&quot;A&quot;&#x7B26;&#x53F7;&#xFF09;</p>
<p>&#xB7;        livereload&#xFF1A;&#x4E3A;GitBook&#x5B9E;&#x65F6;&#x91CD;&#x65B0;&#x52A0;&#x8F7D;</p>
<p>&#x76EE;&#x5F55;&#x4E0B;&#x5EFA;&#x7ACB;book.js</p>
<pre><code>{

  &quot;plugins&quot;: [

    &quot;github-buttons&quot;,//&#x53F3;&#x4E0A;&#x89D2;&#x6DFB;&#x52A0;github&#x56FE;&#x6807;

    &quot;donate&quot;,//&#x6253;&#x8D4F;

    &quot;edit-link&quot;,//&#x6BCF;&#x4E2A;&#x9875;&#x9762;&#x4E0A;&#x6DFB;&#x52A0;&#x4E86;&#x201C;&#x7F16;&#x8F91;&#x6B64;&#x9875;&#x9762;&#x201D;&#x94FE;&#x63A5;&#x3002;

&#x94FE;&#x63A5;&#x76EE;&#x6807;&#x5C06;&#x662F;Github&#x6216;Gitlab&#x4E0A;&#x7684;&#x8BE5;&#x9875;&#x9762;&#x7684;&#x6E90;&#x6587;&#x4EF6;&#x6216;&#x4EFB;&#x4F55;repo



    &quot;back-to-top-button&quot;,//&#x56DE;&#x5230;&#x9876;&#x90E8;

    &quot;chapter-fold&quot;,//&#x652F;&#x6301;&#x591A;&#x5C42;&#x76EE;&#x5F55;&#xFF0C;&#x70B9;&#x51FB;&#x5BFC;&#x822A;&#x680F;&#x7684;&#x6807;&#x9898;&#x540D;&#x5C31;&#x53EF;&#x4EE5;&#x5B9E;&#x73B0;&#x6298;&#x53E0;&#x6269;&#x5C55;

    &quot;expandable-chapters-small&quot;,//&#x5DE6;&#x4FA7;&#x7AE0;&#x8282;&#x76EE;&#x5F55;&#x53EF;&#x6298;&#x53E0;&#xFF0C;&#x53EA;&#x6709;&#x70B9;&#x51FB;&#x7BAD;&#x5934;&#x624D;&#x80FD;&#x5B9E;&#x73B0;&#x6298;&#x53E0;&#x6269;&#x5C55;

    &quot;insert-logo&quot;,//&#x5DE6;&#x4E0A;&#x89D2;&#x663E;&#x793A;logo

    &quot;splitter&quot;,//&#x4FA7;&#x8FB9;&#x680F;&#x5BBD;&#x5EA6;&#x53EF;&#x8C03;&#x8282;

    &quot;pageview-count&quot;,//&#x9605;&#x8BFB;&#x91CF;&#x8BA1;&#x6570;

&quot;popup&quot;,//&#x5355;&#x51FB;&#x56FE;&#x7247;&#xFF0C;&#x5728;&#x65B0;&#x9875;&#x9762;&#x67E5;&#x770B;&#x5927;&#x56FE;

&quot;github&quot;,

&quot;-sharing&quot;, 

&quot;sharing-plus&quot;

  ],

  &quot;pluginsConfig&quot;: {

           &quot;github-buttons&quot;: {

             &quot;buttons&quot;: [{

               &quot;user&quot;: &quot;xiaolanyun&quot;,

               &quot;repo&quot;: &quot;DevOps_wiki&quot;,

               &quot;type&quot;: &quot;star&quot;,

               &quot;size&quot;: &quot;large&quot;

             }, {

               &quot;user&quot;: &quot;xiaolanyun&quot;,

               &quot;type&quot;: &quot;follow&quot;,

               &quot;width&quot;: &quot;230&quot;,

               &quot;count&quot;: false

             }]

           },

           &quot;donate&quot;: {

                 &quot;wechat&quot;: &quot;D:/wiki/devopswiki/images/weixin.png&quot;,

                 &quot;alipay&quot;: &quot;D:/wiki/devopswiki/images/zhifubao.png&quot;,

                 &quot;title&quot;: &quot;&#x9ED8;&#x8BA4;&#x7A7A;&quot;,

                 &quot;button&quot;: &quot;&#x9ED8;&#x8BA4;&#x503C;&#xFF1A;Donate&quot;,

                 &quot;alipayText&quot;: &quot;&#x9ED8;&#x8BA4;&#x503C;&#xFF1A;&#x652F;&#x4ED8;&#x5B9D;&#x6350;&#x8D60;&quot;,

                 &quot;wechatText&quot;: &quot;&#x9ED8;&#x8BA4;&#x503C;&#xFF1A;&#x5FAE;&#x4FE1;&#x6350;&#x8D60;&quot;

               },



             &quot;edit-link&quot;: {

                           &quot;base&quot;: &quot;https://github.com/USER/REPO/edit/BRANCH/path/to/book&quot;,

                           &quot;label&quot;: {

                               &quot;en&quot;: &quot;Edit This Page&quot;,

                               &quot;de&quot;: &quot;Seite bearbeiten&quot;

                           }

                },



             &quot;insert-logo&quot;: {

                 &quot;url&quot;: &quot;http://server.zzidc.com/uploads/allimg/171120/1-1G120162T3202.png&quot;,

                 &quot;style&quot;: &quot;background: none; max-height: 30px; min-height: 30px&quot;

               },



           &quot;github&quot;: {

            &quot;url&quot;: &quot;https://github.com/xiaolanyun/DevOps_wiki/&quot;

        },



           &quot;sharing&quot;: {

           &quot;douban&quot;: false,

           &quot;facebook&quot;: false,

           &quot;google&quot;: true,

           &quot;hatenaBookmark&quot;: false,

           &quot;instapaper&quot;: false,

           &quot;line&quot;: true,

           &quot;linkedin&quot;: true,

           &quot;messenger&quot;: false,

           &quot;pocket&quot;: false,

           &quot;qq&quot;: false,

           &quot;qzone&quot;: true,

           &quot;stumbleupon&quot;: false,

           &quot;twitter&quot;: false,

           &quot;viber&quot;: false,

           &quot;vk&quot;: false,

           &quot;weibo&quot;: true,

           &quot;whatsapp&quot;: false,

           &quot;all&quot;: [

               &quot;douban&quot;, &quot;facebook&quot;, &quot;google&quot;, &quot;hatenaBookmark&quot;, 

               &quot;instapaper&quot;, &quot;linkedin&quot;,&quot;twitter&quot;, &quot;weibo&quot;, 

               &quot;messenger&quot;,&quot;qq&quot;, &quot;qzone&quot;,&quot;viber&quot;,&quot;vk&quot;,&quot;weibo&quot;,

               &quot;pocket&quot;, &quot;stumbleupon&quot;,&quot;whatsapp&quot;

           ]

    } 

  }

}
</code></pre><hr>
<p>3&#x3001;&#x5173;&#x8054;github</p>
<pre><code>gitbook server

wiki&#x6587;&#x4EF6;&#x5939;&#x4E0B;&#x7F16;&#x8BD1;&#x4E66;&#x7C4D;&#x4E4B;&#x540E;&#x4F1A;&#x5728;_book&#x4E0B;&#x751F;&#x6210;html

github&#x5EFA;&#x7ACB;&#x4ED3;&#x5E93;&#x3002;

&#x672C;&#x5730;&#x6267;&#x884C;git&#x547D;&#x4EE4;

git init

git add .

git commit -m &#x201C;&#x63D0;&#x4EA4;&#x6587;&#x4EF6;&#x201D;

git remote add origin &#x8FDC;&#x7A0B;&#x4ED3;&#x5E93;&#x94FE;&#x63A5;

git push -u origin master

&#x6240;&#x6709;&#x6587;&#x4EF6;&#x63D0;&#x4EA4;&#x5230;github&#x4E3B;&#x5E72;master&#x4E0A;&#xFF0C;&#x63A5;&#x4E0B;&#x6765;&#x5C06;_book&#x751F;&#x6210;&#x7684;html&#x63D0;&#x4EA4;&#x5230;&#x5206;&#x652F;gh-pages&#x4E0A;.&#x3010;gh-pages&#x540D;&#x79F0;&#x56FA;&#x5B9A;&#xFF0C;&#x4E0D;&#x53EF;&#x6539;&#x53D8;&#x3011;

git checkout -b &apos;gh-pages&apos;    //&#x521B;&#x5EFA;&#x5E76;&#x5207;&#x6362;

&#x9996;&#x5148;&#x684C;&#x9762;&#x5EFA;&#x7ACB;&#x4E00;&#x4E2A;&#x6587;&#x4EF6;&#x5939;A&#xFF0C;&#x5C06;&#x9664;&#x4E86;.git&#x6587;&#x4EF6;&#x5939;&#x5916;&#x5176;&#x4F59;&#x6587;&#x4EF6;&#x5168;&#x90E8;&#x62F7;&#x8D1D;&#x51FA;&#x6765;&#xFF0C;&#x7136;&#x540E;&#x5C06;wiki&#x6587;&#x4EF6;&#x5939;&#x91CC;&#x9664;&#x4E86;.git&#x5916;&#x5220;&#x9664;&#x3002;

&#x6253;&#x5F00;A&#xFF0C;&#x5C06;_book&#x6587;&#x4EF6;&#x5939;&#x4E0B;&#x7684;&#x6587;&#x4EF6;&#x62F7;&#x8D1D;&#x5230;wiki&#x4E0B;&#x3002;

git add .

git commit -m &quot;&#x63D0;&#x4EA4;&#x9875;&#x9762;&quot;

git push origin gh-pages
</code></pre><p>&#x63D0;&#x4EA4;&#x5206;&#x652F;&#x6210;&#x529F;&#x540E;github&#x8FDB;&#x884C;&#x8BBE;&#x7F6E;&#x5373;&#x53EF;&#x8BBF;&#x95EE;</p>
<hr>
<p>&#x6B64;&#x65F6;&#x60F3;&#x5207;&#x6362;&#x56DE;master&#x5206;&#x652F;&#x64CD;&#x4F5C;</p>
<p>&#x5220;&#x9664;&#x5728;wiki&#x6587;&#x4EF6;&#x5939;&#x4E0B;&#x7684;&#x521A;&#x624D;&#x7C98;&#x8D34;&#x7684;&#x90A3;&#x4E9B;&#x6587;&#x4EF6;&#xFF0C;&#x53EA;&#x7559;&#x4E0B;.git&#x6587;&#x4EF6;&#x5939;</p>
<p>&#x5C06;&#x521A;&#x624D;&#x5907;&#x4EFD;&#x5728;A&#x7684;&#x6240;&#x6709;&#x6587;&#x4EF6;&#x518D;&#x62F7;&#x8D1D;&#x56DE;&#x6765;</p>
<p>&#x6B64;&#x65F6;git checkout master&#x5207;&#x6362;&#x4F1A;&#x63D0;&#x793A;&#x4EE5;&#x4E0B;&#x6587;&#x4EF6;&#x90FD;&#x6CA1;&#x6709;&#x88AB;&#x8DDF;&#x8E2A;</p>
<pre><code>git add .

git checkout master//&#x8FD9;&#x6837;&#x5C31;&#x5207;&#x6362;&#x56DE;&#x6765;&#x4E86;

git pull origin master//&#x4F8B;&#x884C;&#x62C9;&#x53D6;&#x66F4;&#x65B0;&#xFF0C;&#x907F;&#x514D;&#x51B2;&#x7A81;
</code></pre>
<script>console.log("plugin-popup....");document.onclick = function(e){ e.target.tagName === "IMG" && window.open(e.target.src,e.target.src)}</script><style>img{cursor:pointer}</style>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="chapter15.html" class="navigation navigation-prev " aria-label="Previous page: 15、gitbook_wiki">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="chapter16.html" class="navigation navigation-next " aria-label="Next page: 16、前端">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"15.1、wiki搭建使用","level":"1.16.1","depth":2,"next":{"title":"16、前端","level":"1.17","depth":1,"path":"chapter16.md","ref":"chapter16.md","articles":[{"title":"16.1、UI设计","level":"1.17.1","depth":2,"path":"chapter16.1.md","ref":"chapter16.1.md","articles":[]},{"title":"16.2、前端托管地址","level":"1.17.2","depth":2,"path":"chapter16.2.md","ref":"chapter16.2.md","articles":[]}]},"previous":{"title":"15、gitbook_wiki","level":"1.16","depth":1,"path":"chapter15.md","ref":"chapter15.md","articles":[{"title":"15.1、wiki搭建使用","level":"1.16.1","depth":2,"path":"chapter15.1.md","ref":"chapter15.1.md","articles":[]}]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["back-to-top-button","chapter-fold","expandable-chapters-small","insert-logo","splitter","popup","github","github-buttons","livereload"],"pluginsConfig":{"chapter-fold":{},"github":{"url":"https://github.com/xiaolanyun","size":"50px"},"livereload":{},"splitter":{},"search":{},"popup":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"back-to-top-button":{},"github-buttons":{"buttons":[{"user":"xiaolanyun","repo":"DevOps_wiki","type":"star","size":"30px"}]},"expandable-chapters-small":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"insert-logo":{"style":"background: none; max-height: 60px; min-height: 30px","url":"http://server.zzidc.com/uploads/allimg/171120/1-1G120162T3202.png"}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"chapter15.1.md","mtime":"2019-04-27T05:36:40.579Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-05-07T07:59:20.478Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-back-to-top-button/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-chapter-fold/chapter-fold.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-insert-logo/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-github/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-github-buttons/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

